.class public Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;


# static fields
.field public static a:Lcom/waiqin365/lightapp/dailyreport/c/o;

.field public static b:Landroid/os/Handler;


# instance fields
.field private c:Landroid/widget/Button;

.field private d:Landroid/widget/EditText;

.field private e:Landroid/view/View;

.field private f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private g:Ljava/util/ArrayList;

.field private h:Lcom/waiqin365/lightapp/dailyreport/view/i;

.field private i:Landroid/content/Context;

.field private j:Ljava/util/HashMap;

.field private k:Ljava/util/List;

.field private l:Ljava/util/List;

.field private m:Landroid/view/View;

.field private n:Landroid/view/View;

.field private o:Z

.field private p:Z

.field private q:Z

.field private r:Z

.field private s:Lcom/waiqin365/lightapp/dailyreport/c/o;

.field private t:Lcom/waiqin365/lightapp/dailyreport/c/o;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->k:Ljava/util/List;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->l:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->p:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->q:Z

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->r:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;Lcom/waiqin365/lightapp/dailyreport/c/o;)Lcom/waiqin365/lightapp/dailyreport/c/o;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    return-object p1
.end method

.method private a(I)V
    .locals 3

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->showProgressDialog(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->j:Ljava/util/HashMap;

    sget-object v2, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b:Landroid/os/Handler;

    invoke-static {v0, v1, p1, v2}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/util/ArrayList;Ljava/util/HashMap;ILandroid/os/Handler;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;Ljava/util/HashMap;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(Ljava/util/HashMap;)V

    return-void
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->removeAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->i:Landroid/content/Context;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v0

    const-string/jumbo v1, "0"

    invoke-virtual {v0, p1, v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Ljava/util/ArrayList;Ljava/lang/String;)Z

    return-void
.end method

.method private a(Ljava/util/HashMap;)V
    .locals 4

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {p1, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {p1, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->i:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v1

    iget-object v3, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    invoke-virtual {v1, v3, v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->b(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Lcom/waiqin365/lightapp/dailyreport/c/o;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Landroid/widget/EditText;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    return-object v0
.end method

.method private d()V
    .locals 3

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->j:Ljava/util/HashMap;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->l:Ljava/util/List;

    invoke-direct {v0, p0, v1, v2}, Lcom/waiqin365/lightapp/dailyreport/view/i;-><init>(Landroid/content/Context;Ljava/util/ArrayList;Ljava/util/List;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->j:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Ljava/util/HashMap;)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Lcom/waiqin365/lightapp/dailyreport/c/o;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    return-object v0
.end method

.method private e()V
    .locals 2

    const v0, 0x7f0c064b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->m:Landroid/view/View;

    const v0, 0x7f0c064c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->n:Landroid/view/View;

    const v0, 0x7f0c064d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->c:Landroid/widget/Button;

    const v0, 0x7f0c0199

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/ba;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/ba;-><init>(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/bb;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/bb;-><init>(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/view/i;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c064f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    const v0, 0x7f0c0086

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/bc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/bc;-><init>(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setOnEditorActionListener(Landroid/widget/TextView$OnEditorActionListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/bd;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/dailyreport/bd;-><init>(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->e:Landroid/view/View;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g()V

    :cond_0
    return-void
.end method

.method private g()V
    .locals 3

    const/16 v2, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->m:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->n:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->e:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->j:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->notifyDataSetChanged()V

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g()V

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->j:Ljava/util/HashMap;

    return-object v0
.end method

.method private h()V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/m;

    const-string/jumbo v1, ""

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/b/a/m;-><init>(Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    sget-object v2, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Lcom/waiqin365/lightapp/dailyreport/view/i;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->q:Z

    return v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->n:Landroid/view/View;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->k:Ljava/util/List;

    return-object v0
.end method


# virtual methods
.method protected a()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    const-string/jumbo v1, "2"

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/o;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->g:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/c/o;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(Lcom/waiqin365/lightapp/dailyreport/c/o;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    const-string/jumbo v1, "2"

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/o;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->g:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/dailyreport/c/o;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(Lcom/waiqin365/lightapp/dailyreport/c/o;)V

    goto :goto_0
.end method

.method protected a(Lcom/waiqin365/lightapp/dailyreport/c/o;)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->m:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    if-nez p1, :cond_0

    new-instance p1, Lcom/waiqin365/lightapp/dailyreport/c/o;

    invoke-direct {p1}, Lcom/waiqin365/lightapp/dailyreport/c/o;-><init>()V

    const-string/jumbo v0, "1"

    iput-object v0, p1, Lcom/waiqin365/lightapp/dailyreport/c/o;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p1, Lcom/waiqin365/lightapp/dailyreport/c/o;->k:Ljava/lang/String;

    :cond_0
    const-string/jumbo v0, "1"

    iget-object v1, p1, Lcom/waiqin365/lightapp/dailyreport/c/o;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->q:Z

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->showProgressDialog(Ljava/lang/String;)V

    :goto_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    if-eqz v0, :cond_2

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    :goto_1
    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/p;

    invoke-direct {v0, p1}, Lcom/waiqin365/lightapp/dailyreport/b/a/p;-><init>(Lcom/waiqin365/lightapp/dailyreport/c/o;)V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    sget-object v2, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    const-string/jumbo v0, "daily_search"

    invoke-static {p0, v0}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v1, "markString"

    iget-object v2, p1, Lcom/waiqin365/lightapp/dailyreport/c/o;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v1, "color"

    const-string/jumbo v2, "#FE4B05"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->l:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void

    :cond_1
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->q:Z

    goto :goto_0

    :cond_2
    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->s:Lcom/waiqin365/lightapp/dailyreport/c/o;

    goto :goto_1
.end method

.method public b()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->g:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(I)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->notifyDataSetChanged()V

    return-void
.end method

.method public c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/be;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/be;-><init>(Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;)V

    sput-object v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->b:Landroid/os/Handler;

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 5

    const v0, 0xa005

    const/4 v1, 0x0

    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    sparse-switch p2, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    if-ne p1, v0, :cond_0

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    goto :goto_0

    :sswitch_1
    if-ne p1, v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f()V

    const-string/jumbo v0, "blog"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/o;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    const-string/jumbo v0, "isAdvanced"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->o:Z

    const-string/jumbo v0, "isAdvanced"

    invoke-virtual {p3, v0, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->p:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->t:Lcom/waiqin365/lightapp/dailyreport/c/o;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a(Lcom/waiqin365/lightapp/dailyreport/c/o;)V

    goto :goto_0

    :cond_1
    const/16 v0, 0x14

    if-ne p1, v0, :cond_0

    if-eqz p3, :cond_0

    const-string/jumbo v0, "emps"

    invoke-virtual {p3, v0}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_0

    const-string/jumbo v2, ""

    move-object v3, v2

    move v2, v1

    :goto_1
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v2, v1, :cond_3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    if-eqz v1, :cond_2

    const-string/jumbo v4, "-1"

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->g:Ljava/lang/String;

    invoke-virtual {v4, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->a:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :goto_2
    add-int/lit8 v2, v2, 0x1

    move-object v3, v1

    goto :goto_1

    :cond_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "@"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/waiqin365/lightapp/kehu/share/a/c;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->b:Ljava/lang/String;

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_2

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/i;->notifyDataSetChanged()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        -0x1 -> :sswitch_1
        0x0 -> :sswitch_0
        0x3e8 -> :sswitch_2
    .end sparse-switch
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    new-instance v1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->i:Landroid/content/Context;

    const-class v2, Lcom/waiqin365/lightapp/dailyreport/AdvancedSearchDailyReportActivity;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v2, "positionList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->k:Ljava/util/List;

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const v0, 0xa005

    invoke-virtual {p0, v1, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->back()V

    goto :goto_0

    :sswitch_2
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->r:Z

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->f()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0086 -> :sswitch_2
        0x7f0c0350 -> :sswitch_1
        0x7f0c064e -> :sswitch_0
    .end sparse-switch
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    iput-object p0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->i:Landroid/content/Context;

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->requestWindowFeature(I)Z

    const v0, 0x7f03010d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->e()V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->c()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->a:Lcom/waiqin365/lightapp/dailyreport/c/o;

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method protected onResume()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->k:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/SearchDailyReportActivity;->h()V

    :cond_0
    return-void
.end method
